package ch.pizzapp.kurier.data;

import android.os.Parcel;
import android.os.Parcelable;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonProperty;

@JsonIgnoreProperties(ignoreUnknown = true)
public class SingUpData implements Parcelable {

	@JsonProperty("type")
	String type;
	@JsonProperty("status")
	String status;
	@JsonProperty("customerID")
	String customerID;
	@JsonProperty("creditMemo")
	String creditMemo;
	@JsonProperty("message")
	String message;

	public String getType() {
		return this.type;
	}

	public void setType(String type) {
		this.type = type;
	}

	public String getStatus() {
		return this.status;
	}

	public void setStatus(String status) {
		this.status = status;
	}

	public String getCustomerID() {
		return this.customerID;
	}

	public void setCustomerID(String customerID) {
		this.customerID = customerID;
	}

	public String getCreditMemo() {
		return this.creditMemo;
	}

	public void setCreditMemo(String creditMemo) {
		this.creditMemo = creditMemo;
	}

	public String getMessage() {
		return this.message;
	}

	public void setMessage(String message) {
		this.message = message;
	}

	protected SingUpData(Parcel in) {
		type = in.readString();
		status = in.readString();
		customerID = in.readString();
		creditMemo = in.readString();
		message = in.readString();
	}

	public SingUpData() {
	}

	public int describeContents() {
		return 0;
	}

	public void writeToParcel(Parcel dest, int flags) {
		dest.writeString(type);
		dest.writeString(status);
		dest.writeString(customerID);
		dest.writeString(creditMemo);
		dest.writeString(message);
	}

	public static final Parcelable.Creator<SingUpData> CREATOR = new Parcelable.Creator<SingUpData>() {
		public SingUpData createFromParcel(Parcel in) {
			return new SingUpData(in);
		}

		public SingUpData[] newArray(int size) {
			return new SingUpData[size];
		}
	};
}